package com.itheima.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(name = "blog-search")
public interface BlogWebFegin {

    //按照查询条件进行数据查询
    @GetMapping("/search//elasticSearchBlog")
    public Map elasticSearchBlog(@RequestParam Map<String, String> searchMap);
}
